package com.lonely.inventory.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lonely.inventory.domain.dto.storagearchive.StorageArchivePageQueryDto;
import com.lonely.inventory.domain.entity.SysInventoryStorageArchive;
import com.lonely.inventory.domain.vo.storagearchive.StorageArchivePageQueryVo;
import org.apache.ibatis.annotations.Param;

/**
 * @author : 黄志标
 * @date: 2025/9/17 17:07
 * @description: 库位档案mapper
 */
public interface SysInventoryStorageArchiveMapper extends BaseMapper<SysInventoryStorageArchive> {

    /**
     * 分页查询
     *
     * @param page
     * @param queryDto
     * @return
     */
    Page<StorageArchivePageQueryVo> page(Page<StorageArchivePageQueryVo> page, @Param("query") StorageArchivePageQueryDto queryDto);
}
